projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d15a42a
)
Declare that `ignore' and `undefined' shouldn't be completed over
author
Lars Ingebrigtsen
<larsi@gnus.org>
Sun, 21 Feb 2021 18:26:39 +0000
(19:26 +0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Sun, 21 Feb 2021 18:26:39 +0000
(19:26 +0100)
* lisp/subr.el (ignore, undefined): Declare that these shouldn't
be completed over.
lisp/subr.el
patch
|
blob
|
history
diff --git
a/lisp/subr.el
b/lisp/subr.el
index cf70b249cfc1f95b3912ad7164d31d994874668b..2ad31b656eae50b87952b3b64032ced0031147b3 100644
(file)
--- a/
lisp/subr.el
+++ b/
lisp/subr.el
@@
-375,6
+375,7
@@
PREFIX is a string, and defaults to \"g\"."
"Do nothing and return nil.
This function accepts any number of ARGUMENTS, but ignores them.
Also see `always'."
+ (declare (completion #'ignore))
(interactive)
nil)
@@
-922,6
+923,7
@@
For an approximate inverse of this, see `key-description'."
(defun undefined ()
"Beep to tell the user this binding is undefined."
+ (declare (completion #'ignore))
(interactive)
(ding)
(if defining-kbd-macro